package com.owc.domain.dto;

import com.owc.common.tool.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author xiaom
 * @Date 2020/2/27 11:26
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("是否存在新通知DTO")
public class CheckNoticeDTO implements Serializable {

    @ApiModelProperty("是否存在新通知 false(不存在) true(存在)")
    private Boolean exist = false;

    @ApiModelProperty("如果存在新通知,数量")
    private Integer cnt = 0;

    @ApiModelProperty("时间")
    private String time = DateUtils.formatYMDHMS(new Date());

}
